@foreach($res as $v)
	@if(empty($v->end_time)||$v->end_time>time())
	<?php
		if (!empty($memberId)) {
			$memberVip = DB::table('members')->where('id',$memberId)->first();
			if ($v->vip_show!=1||($v->vip_show==1&&$memberVip->vip==1)) { ?>
				<li>
					<a href="{{url('wap/goods/detail/'.$v->id)}}">
						<div class="wap-cont stk">
							<div class="cards">
								<img src="{{ config('config.picHostPrefix').$v->middle_img }}">
							</div>
						</div>
					</a>
				</li>
	<?php }} else {
	if ($v->vip_show != 1) {
	?>
	<li>
		<a href="{{url('wap/goods/detail/'.$v->id)}}">
			<div class="wap-cont stk">
				<div class="cards">
					<img src="{{ config('config.picHostPrefix').$v->middle_img }}">
				</div>
			</div>
		</a>
	</li>
	<?php }}?>
	@endif
@endforeach